﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace DevExpress.Demos.DemoCenter
{
    public partial class MyLabel : LabelControl
    {
        public MyLabel(string title)
        {
            InitializeComponent();
            this.AutoSize = true;
            this.Width = 604;
            this.Height = 14;
            this.ForeColor = Color.Silver;
            this.Text = "     -----------------------------------" + title + "------------------------------------";
            this.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
        }

        protected override bool ShowFocusCues
        {
            get
            {
                return false;
            }
        }

    }
}
